<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
   
   <%= javascript_include_tag :defaults, :cache => true %>
   
   <%= stylesheet_link_tag 'master', :media => "screen" %>
   
   <title><%= @page_title || Settings.title %></title>
   
   <%= yield :header %>
   
</head>

<body>

<div id="header_wrap">
   <div id="header">
      <img src="/images/searchbox.png" id="searchbox" />
      
      <% form_tag ({:controller => 'search', :action => 'find'}, :method => 'get', :id => 'search') do %>
         <input id="field1" size="17" font- name="term"  onfocus="if(this.value=='search...')this.value='';" onblur="if(this.value=='')this.value='search...';" type="text" value="search...">
      <% end %>
      
      <%= image_tag('/images/logo.png', :id => 'logo') %>
      
      <div id="nav">
         <%= link_to "Announcements", :action => "index", :controller => 'announcements', :action => 'index' %>
         <%= link_to "About", :action => "show", :controller => 'page', :id => 'about' %>
         <%= link_to "Housing", :action => "show", :controller => 'page', :id => 'the_house' %>
         <!-- <%= link_to "Service", :action => "show", :controller => 'page', :id => 'service' %> -->
         <%= link_to "Photos", :action => "show", :controller => 'albums', :action => 'index' %>
         <%= link_to "Videos", :action => "show", :controller => 'videos', :action => 'index' %>
         <%= link_to "Podcast", :action => "show", :controller => 'podcast', :action => 'index' %>
      </div>
   </div>
</div>

<div id="top_curve">
   
</div>

<div id="wrapper">

   <%= yield %>

   <div class="clear"></div>
</div>

<div id="footer">
   <h5>Powered by the CCF-CMS Version 1.0b and Ruby on Rails.  <%= link_to "login", :controller => 'account', :action => "login" %></h5>
</div>
<div id="bottom_curve"></div>

</body>
</html>

